﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace EventBus.Abstractions
{
    public interface IEventHandler
    { }
    public interface IEventHandler<TEvent>
        : IEventHandler
        where TEvent : IEvent
    {
        Task HandleAsync(TEvent @event);
    }
}
